home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.20010921-20020314 / 000027_fdc@watsun.cc.columbia.edu_Wed Oct 3 14:31:11 EDT 2001.msg < prev    next >
Text File  |  2020-01-01  |  1KB  |  39 lines

  1. Article: 12835 of comp.protocols.kermit.misc
  2. Path: newsmaster.cc.columbia.edu!watsun.cc.columbia.edu!fdc
  3. From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
  4. Newsgroups: comp.protocols.kermit.misc
  5. Subject: Re: regular expressions
  6. Date: 3 Oct 2001 18:31:25 GMT
  7. Organization: Columbia University
  8. Lines: 22
  9. Message-ID: <9pflht$95a$1@newsmaster.cc.columbia.edu>
  10. References: <a695e0e6.0110031026.4147c4ac@posting.google.com>
  11. NNTP-Posting-Host: watsun.cc.columbia.edu
  12. X-Trace: newsmaster.cc.columbia.edu 1002133885 9386 128.59.39.2 (3 Oct 2001 18:31:25 GMT)
  13. X-Complaints-To: postmaster@columbia.edu
  14. NNTP-Posting-Date: 3 Oct 2001 18:31:25 GMT
  15. Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:12835
  16.  
  17. In article <a695e0e6.0110031026.4147c4ac@posting.google.com>,
  18. Andy Pyles <a_pyles@yahoo.com> wrote:
  19. : I am writing a script to a serial line
  20. : and am trying to test for the following unique string:
  21. :  
  22. : ^[[6;17Htestingtest 
  23. : Currently I have :
  24. : minput 2 \27[6;17H
  25. : However this is not unique enough for me, because the text could be
  26. : any english character. I need to check something like this:
  27. : minput \27[6;17H[A-Z][a-z]{1-9}
  28. : which won't work. Is there some other way to accomplish the same
  29. : thing?
  30. See:
  31.  
  32.   http://www.columbia.edu/kermit/ckermit2.html#x7.1.3
  33.  
  34. - Frank
  35.